package com.example.daytest;

/**
 * @author heyu
 * @title: CampareJson
 * @description:测试
 * @date 2022/7/16上午7:13
 */

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;

public class CampareJson {
    public String campareJsonObject(String oldJsonStr, String newJsonStr1) {
        //将字符串转换为json对象
        JSONArray js1=JSONObject.parseArray(oldJsonStr);
       JSONArray js2= JSONObject.parseArray(newJsonStr1);

        //递归遍历json对象所有的key-value，将其封装成path:value格式进行比较
//        Map<String, Object> oldMap = new LinkedHashMap<>();
//        Map<String, Object> newMap = new LinkedHashMap<>();
//        convertJsonToMap(js1.get(0), "", oldMap);
//        convertJsonToMap(js2.get(0), "", newMap);
//        Map<String, Object> differenceMap = campareMap(oldMap, newMap);
//        //将最终的比较结果把不相同的转换为json对象返回
//        String jsonObject = convertMapToJson(differenceMap);
        //递归遍历json对象所有的key-value，将其封装成path:value格式进行比较
        Map<String, Object> oldMap2 = new LinkedHashMap<>();
        Map<String, Object> newMap2 = new LinkedHashMap<>();
        convertJsonToMap(js1.get(1), "", oldMap2);
        convertJsonToMap(js2.get(1), "", newMap2);
        Map<String, Object> differenceMap2 = campareMap(oldMap2, newMap2);
        //将最终的比较结果把不相同的转换为json对象返回
        String jsonObject2 = convertMapToJson(differenceMap2);
        return jsonObject2;
    }

    /**
     * 将json数据转换为map存储用于比较
     *
     * @param json
     * @param root
     * @param resultMap
     */
    private void convertJsonToMap(Object json, String root, Map<String, Object> resultMap) {
        if (json instanceof JSONObject) {
            JSONObject jsonObject = ((JSONObject) json);
            Iterator iterator = jsonObject.keySet().iterator();
            while (iterator.hasNext()) {
                Object key = iterator.next();
                Object value = jsonObject.get(key);
                String newRoot = "".equals(root) ? key + "" : root + "." + key;
                if (value instanceof JSONObject || value instanceof JSONArray) {
                    convertJsonToMap(value, newRoot, resultMap);
                } else {
                    resultMap.put(newRoot, value);
                }
            }
        } else if (json instanceof JSONArray) {
            JSONArray jsonArray = (JSONArray) json;
            for (int i = 0; i < jsonArray.size(); i++) {
                Object vaule = jsonArray.get(i);
                String newRoot = "".equals(root) ? "[" + i + "]" : root + ".[" + i + "]";
                if (vaule instanceof JSONObject || vaule instanceof JSONArray) {
                    convertJsonToMap(vaule, newRoot, resultMap);
                } else {
                    resultMap.put(newRoot, vaule);
                }
            }
        }
    }

    /**
     * 比较两个map，返回不同数据
     *
     * @param oldMap
     * @param newMap
     * @return
     */
    private Map<String, Object> campareMap(Map<String, Object> oldMap, Map<String, Object> newMap) {
        //遍历newMap，将newMap的不同数据装进oldMap，同时删除oldMap中与newMap相同的数据
        campareNewToOld(oldMap, newMap);
        //將舊的有新的沒有的數據封裝數據結構存在舊的裡面
        campareOldToNew(oldMap);
        return oldMap;
    }

    /**
     * 將舊的有新的沒有的數據封裝數據結構存在舊的裡面
     * @param oldMap
     * @return
     */
    private void campareOldToNew(Map<String, Object> oldMap) {
        //统一oldMap中newMap不存在的数据的数据结构，便于解析
        for (Iterator<Map.Entry<String, Object>> it = oldMap.entrySet().iterator(); it.hasNext(); ) {
            Map.Entry<String, Object> item = it.next();
            String key = item.getKey();
            Object value = item.getValue();
            int lastIndex = key.lastIndexOf(".");
            if (!(value instanceof Map)) {
                Map<String, Object> differenceMap = new HashMap<>();
                differenceMap.put("oldValue", value);
                differenceMap.put("newValue", "");
                oldMap.put(key, differenceMap);
            }
        }
    }

    /**
     * 將新的map與舊的比較，並將數據統一存在舊的裡面
     * @param oldMap
     * @param newMap
     */
    private void campareNewToOld(Map<String, Object> oldMap, Map<String, Object> newMap) {
        for (Iterator<Map.Entry<String, Object>> it = newMap.entrySet().iterator(); it.hasNext(); ) {
            Map.Entry<String, Object> item = it.next();
            String key = item.getKey();
            Object newValue = item.getValue();
            Map<String, Object> differenceMap = new HashMap<>();
            int lastIndex = key.lastIndexOf(".");
            String lastPath = key.substring(lastIndex + 1).toLowerCase();
            if (oldMap.containsKey(key)) {
                Object oldValue = oldMap.get(key);
                if (newValue.equals(oldValue)) {
                    oldMap.remove(key);
                    continue;
                } else {
                    differenceMap.put("crm", oldValue);
                    differenceMap.put("电渠", newValue);
                    oldMap.put(key, differenceMap);
                }
            } else {
                differenceMap.put("oldValue", "");
                differenceMap.put("newValue", newValue);
                oldMap.put(key, differenceMap);
            }
        }
    }

    /**
     * 将已经找出不同数据的map根据key的层级结构封装成json返回
     *
     * @param map
     * @return
     */
    private String convertMapToJson(Map<String, Object> map) {
        JSONObject resultJSONObject = new JSONObject();
        for (Iterator<Map.Entry<String, Object>> it = map.entrySet().iterator(); it.hasNext(); ) {
            Map.Entry<String, Object> item = it.next();
            String key = item.getKey();
            Object value = item.getValue();
            String[] paths = key.split("\\.");
            int i = 0;
            Object remarkObject = null;//用於深度標識對象
            int indexAll = paths.length - 1;
            while (i <= paths.length - 1) {
                String path = paths[i];
                if (i == 0) {
                    //初始化对象标识
                    if (resultJSONObject.containsKey(path)) {
                        remarkObject = resultJSONObject.get(path);
                    } else {
                        if (indexAll > i) {
                            if (paths[i + 1].matches("\\[[0-9]+\\]")) {
                                remarkObject = new JSONArray();
                            } else {
                                remarkObject = new JSONObject();
                            }
                            resultJSONObject.put(path, remarkObject);
                        } else {
                            resultJSONObject.put(path, value);
                        }
                    }
                    i++;
                    continue;
                }
                if (path.matches("\\[[0-9]+\\]")) {//匹配集合对象
                    int startIndex = path.lastIndexOf("[");
                    int endIndext = path.lastIndexOf("]");
                    int index = Integer.parseInt(path.substring(startIndex + 1, endIndext));
                    if (indexAll > i) {
                        if (paths[i + 1].matches("\\[[0-9]+\\]")) {
                            while (((JSONArray) remarkObject).size() <= index) {
                                if(((JSONArray) remarkObject).size() == index){
                                    ((JSONArray) remarkObject).add(index,new JSONArray());
                                }else{
                                    ((JSONArray) remarkObject).add(null);
                                }
                            }
                        } else {
                            while(((JSONArray) remarkObject).size() <= index){
                                if(((JSONArray) remarkObject).size() == index){
                                    ((JSONArray) remarkObject).add(index,new JSONObject());
                                }else{
                                    ((JSONArray) remarkObject).add(null);
                                }
                            }
                        }
                        remarkObject = ((JSONArray) remarkObject).get(index);
                    } else {
                        while(((JSONArray) remarkObject).size() <= index){
                            if(((JSONArray) remarkObject).size() == index){
                                ((JSONArray) remarkObject).add(index, value);
                            }else{
                                ((JSONArray) remarkObject).add(null);
                            }
                        }
                    }
                } else {
                    if (indexAll > i) {
                        if (paths[i + 1].matches("\\[[0-9]+\\]")) {
                            if(!((JSONObject) remarkObject).containsKey(path)){
                                ((JSONObject) remarkObject).put(path, new JSONArray());
                            }
                        } else {
                            if(!((JSONObject) remarkObject).containsKey(path)){
                                ((JSONObject) remarkObject).put(path, new JSONObject());
                            }
                        }
                        remarkObject = ((JSONObject) remarkObject).get(path);
                    } else {
                        ((JSONObject) remarkObject).put(path, value);
                    }
                }
                i++;
            }
        }
        return JSON.toJSONString(resultJSONObject);
    }

    public static void main(String[] args){
        String oldStr= "[\n" +
                "                    {\n" +
                "                        \"offer_id\":\"390020010917\",\n" +
                "                        \"offer_name\":\"5G特惠包（50元10GB）\",\n" +
                "                        \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                        \"offer_type\":\"OFFER_VAS\",\n" +
                "                        \"relate_offer_id\":\"0\",\n" +
                "                        \"prod_list\":[\n" +
                "                            {\n" +
                "                                \"prod_id\":\"390020010936\",\n" +
                "                                \"prod_name\":\"自建FTTH标准200M包年（优惠购宽带）宽带优惠\",\n" +
                "                                \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"role_id\":181000000001,\n" +
                "                                \"attr_list\":[\n" +
                "\n" +
                "                                ]\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"prod_id\":\"111000717108\",\n" +
                "                                \"prod_name\":\"PLUS会员年包8折优惠\",\n" +
                "                                \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"role_id\":181000000001,\n" +
                "                                \"attr_list\":[\n" +
                "                                    {\n" +
                "                                        \"attr_id\":\"262100000065\",\n" +
                "                                        \"attr_name\":\"优惠方式\",\n" +
                "                                        \"attr_value\":\"3\",\n" +
                "                                        \"attr_text\":\"优惠比例 百分比\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"attr_id\":\"262100000066\",\n" +
                "                                        \"attr_name\":\"优惠值\",\n" +
                "                                        \"attr_value\":\"20\",\n" +
                "                                        \"attr_text\":\"20\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"prod_id\":\"111000782730\",\n" +
                "                                \"prod_name\":\"PLUS会员年包（159元）8折\",\n" +
                "                                \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"role_id\":181000000001,\n" +
                "                                \"attr_list\":[\n" +
                "                                    {\n" +
                "                                        \"attr_id\":\"262100000065\",\n" +
                "                                        \"attr_name\":\"优惠方式\",\n" +
                "                                        \"attr_value\":\"3\",\n" +
                "                                        \"attr_text\":\"优惠比例 百分比\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"attr_id\":\"262100000066\",\n" +
                "                                        \"attr_name\":\"优惠值\",\n" +
                "                                        \"attr_value\":\"20\",\n" +
                "                                        \"attr_text\":\"20\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"prod_id\":\"390020010918\",\n" +
                "                                \"prod_name\":\"5G特惠包（50元10GB）\",\n" +
                "                                \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"role_id\":181000000001,\n" +
                "                                \"attr_list\":[\n" +
                "\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"mix_main_prod\":\"0\",\n" +
                "                        \"mix_eff_type\":\"1\",\n" +
                "                        \"mix_ext_state\":\"0\",\n" +
                "                        \"ord_ext\":{\n" +
                "                            \"agency_person\":\"\",\n" +
                "                            \"certifi_type_id\":\"\",\n" +
                "                            \"certifi_code\":\"\",\n" +
                "                            \"agency_forefion_name\":\"\",\n" +
                "                            \"agency_traffic_number\":\"\",\n" +
                "                            \"remarks\":\"\",\n" +
                "                            \"agency_address\":\"\",\n" +
                "                            \"agency_person_address\":\"\",\n" +
                "                            \"send_sms_flag\":\"N\"\n" +
                "                        },\n" +
                "                        \"eff_type\":\"1\",\n" +
                "                        \"business_id\":\"191000000004\",\n" +
                "                        \"business_name\":\"订购\",\n" +
                "                        \"offer_state\":\"1\",\n" +
                "                        \"main_busi_id\":\"191001002001\",\n" +
                "                        \"bill_id\":\"13601675690\",\n" +
                "                        \"acct_id\":\"31095360251\",\n" +
                "                        \"product_spec_id\":\"171000000001\",\n" +
                "                        \"oper_type\":\"0\"\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"offer_id\":\"390020010915\",\n" +
                "                        \"offer_name\":\"5G特惠包（30元5GB）\",\n" +
                "                        \"expire_date\":\"2022-08-01 00:00:00\",\n" +
                "                        \"effective_date\":\"2020-11-01 00:00:00\",\n" +
                "                        \"offer_type\":\"OFFER_VAS\",\n" +
                "                        \"offer_state\":\"3\",\n" +
                "                        \"main_busi_id\":\"191001002001\",\n" +
                "                        \"product_spec_id\":\"171000000001\",\n" +
                "                        \"bill_id\":\"13601675690\",\n" +
                "                        \"acct_id\":\"31095360251\",\n" +
                "                        \"business_id\":\"191000000005\",\n" +
                "                        \"business_name\":\"退订\",\n" +
                "                        \"eff_type\":\"1\",\n" +
                "                        \"oper_type\":\"1\",\n" +
                "                        \"offer_inst_id\":\"75004985641863\",\n" +
                "                        \"prod_list\":[\n" +
                "                            {\n" +
                "                                \"prod_id\":\"111000782730\",\n" +
                "                                \"prod_name\":\"PLUS会员年包（159元）8折\",\n" +
                "                                \"expire_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"effective_date\":\"2020-11-01 00:00:00\",\n" +
                "                                \"attr_list\":[\n" +
                "\n" +
                "                                ]\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"prod_id\":\"111000717108\",\n" +
                "                                \"prod_name\":\"PLUS会员年包8折优惠\",\n" +
                "                                \"expire_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"effective_date\":\"2020-11-01 00:00:00\",\n" +
                "                                \"attr_list\":[\n" +
                "\n" +
                "                                ]\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"prod_id\":\"390020010916\",\n" +
                "                                \"prod_name\":\"5G特惠包（30元5GB）\",\n" +
                "                                \"expire_date\":\"2022-08-01 00:00:00\",\n" +
                "                                \"effective_date\":\"2020-11-01 00:00:00\",\n" +
                "                                \"attr_list\":[\n" +
                "\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"selected\":\"1\",\n" +
                "                        \"relat_flag\":390020010917\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"bill_id\":\"13601675690\",\n" +
                "                        \"product_spec_id\":\"390020024733\",\n" +
                "                        \"product_spec_name\":\"普通融合类礼包\",\n" +
                "                        \"offer_alpha_name\":\"WMRHB\",\n" +
                "                        \"offer_name\":\"完美融合包\",\n" +
                "                        \"business_id\":\"191000002023\",\n" +
                "                        \"main_busi_id\":\"191000002023\",\n" +
                "                        \"use_eff_date\":\"2022-06-19 23:02:01\",\n" +
                "                        \"use_exp_date\":\"2099-12-31 00:00:00\",\n" +
                "                        \"effective_date\":\"2022-07-15 16:11:04\",\n" +
                "                        \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                        \"offer_id\":\"390020024739\",\n" +
                "                        \"offer_type\":\"OFFER_MIX\",\n" +
                "                        \"brand\":\"0\",\n" +
                "                        \"fee\":\"50\",\n" +
                "                        \"eff_type\":\"1\",\n" +
                "                        \"mix_main_prod\":\"0\",\n" +
                "                        \"mix_eff_type\":\"1\",\n" +
                "                        \"mix_is_show\":\"Y\",\n" +
                "                        \"price_plan\":[\n" +
                "\n" +
                "                        ],\n" +
                "                        \"printBusiInfo\":\"完美融合包\\n生效类型：立即生效\",\n" +
                "                        \"mix_extend_offer\":[\n" +
                "                            {\n" +
                "                                \"offer_id\":\"390000216805\",\n" +
                "                                \"offer_name\":\"魔百和组播\",\n" +
                "                                \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                \"effective_date\":\"2022-07-15 16:06:57\",\n" +
                "                                \"offer_type\":\"OFFER_VAS\",\n" +
                "                                \"relate_offer_id\":\"111000593625\",\n" +
                "                                \"checkFlag\":0,\n" +
                "                                \"prod_list\":[\n" +
                "\n" +
                "                                ],\n" +
                "                                \"cust_name\":\"王*\",\n" +
                "                                \"bill_id\":\"13601675690\",\n" +
                "                                \"oper_type\":\"\",\n" +
                "                                \"eff_type\":\"1\",\n" +
                "                                \"offer_state\":\"1\",\n" +
                "                                \"op_bill_id\":\"13601675690\",\n" +
                "                                \"product_spec_id\":\"171000000001\",\n" +
                "                                \"main_busi_id\":\"191000001004\",\n" +
                "                                \"ord_ext\":{\n" +
                "                                    \"tel\":\"17735462287\",\n" +
                "                                    \"booking_home_remarks\":\"\",\n" +
                "                                    \"remarks\":\"\",\n" +
                "                                    \"jk_charge_card\":\"1\",\n" +
                "                                    \"booking_open_dt\":\"\",\n" +
                "                                    \"ext_done_type\":\"\",\n" +
                "                                    \"booking_home_desc\":\"8:00:00\",\n" +
                "                                    \"bill_id\":\"13601675690\",\n" +
                "                                    \"booking_home_dt\":\"2022-07-16\"\n" +
                "                                },\n" +
                "                                \"ext_data\":{\n" +
                "                                    \"booking_home_dt\":\"2022-07-16 8:00:00\",\n" +
                "                                    \"addr_info\":{\n" +
                "                                        \"exchange_id\":\"400563\",\n" +
                "                                        \"district_id\":\"15\",\n" +
                "                                        \"standard_addr_id\":\"34489773\",\n" +
                "                                        \"district_name\":\"徐汇\",\n" +
                "                                        \"standard_addr_name\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"community_name\":\"钦州北路1088号72号商务楼\",\n" +
                "                                        \"community_id\":\"1079871\",\n" +
                "                                        \"access_type\":\"11\",\n" +
                "                                        \"busi_spec_id\":\"105000080167\",\n" +
                "                                        \"cust_name\":\"王*\",\n" +
                "                                        \"ext_attr_1\":\"null\",\n" +
                "                                        \"prod_spec_id\":\"105000080167\",\n" +
                "                                        \"is_jw_flag\":\"已交维\",\n" +
                "                                        \"ext_attr_2\":\"n***\",\n" +
                "                                        \"partner_id\":\"1\",\n" +
                "                                        \"ext_attr_3\":\"null\",\n" +
                "                                        \"std_flag\":\"1\",\n" +
                "                                        \"ge_wband_flag\":\"N\",\n" +
                "                                        \"is_merging\":\"Y\",\n" +
                "                                        \"cluster_village\":\"否\",\n" +
                "                                        \"standard_addr_spell\":\"1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"detail_addr\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"floor_mesg\":\"\",\n" +
                "                                        \"room_mesg\":\"\"\n" +
                "                                    }\n" +
                "                                },\n" +
                "                                \"price_plan\":[\n" +
                "\n" +
                "                                ],\n" +
                "                                \"business_id\":\"191000000004\",\n" +
                "                                \"business_name\":\"订购增值策划\",\n" +
                "                                \"selected\":\"1\",\n" +
                "                                \"spec_id\":\"171000000004\",\n" +
                "                                \"mix_main_prod\":\"0\",\n" +
                "                                \"mix_eff_type\":\"1\",\n" +
                "                                \"mix_ext_state\":\"1\",\n" +
                "                                \"mix_ext_type\":\"FIXNET\"\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"offer_id\":\"380000185801\",\n" +
                "                                \"offer_name\":\"魔百和标准版（语音）\",\n" +
                "                                \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                \"effective_date\":\"2022-07-15 16:06:57\",\n" +
                "                                \"offer_type\":\"OFFER_PLAN\",\n" +
                "                                \"relate_offer_id\":\"111000593625\",\n" +
                "                                \"checkFlag\":1,\n" +
                "                                \"prod_list\":[\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"391000031470\",\n" +
                "                                        \"prod_name\":\"魔百和标准版\",\n" +
                "                                        \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"attr_list\":[\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"380000182995\",\n" +
                "                                                \"attr_name\":\"互联网电视机顶盒\",\n" +
                "                                                \"attr_value\":\"undefined\",\n" +
                "                                                \"attr_text\":\"undefined\"\n" +
                "                                            }\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"390000216800\",\n" +
                "                                        \"prod_name\":\"魔百和组播\",\n" +
                "                                        \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"attr_list\":[\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"390000216803\",\n" +
                "                                                \"attr_name\":\"业务子账号\",\n" +
                "                                                \"attr_value\":\"0\",\n" +
                "                                                \"attr_text\":\"0\"\n" +
                "                                            },\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"390000216802\",\n" +
                "                                                \"attr_name\":\"是否IPTV组播\",\n" +
                "                                                \"attr_value\":\"1\",\n" +
                "                                                \"attr_text\":\"是\"\n" +
                "                                            }\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"390020011118\",\n" +
                "                                        \"prod_name\":\"魔百和标准版（语音）\",\n" +
                "                                        \"expire_date\":\"2099-12-31 23:59:59\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"attr_list\":[\n" +
                "\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    }\n" +
                "                                ],\n" +
                "                                \"cust_name\":\"王*\",\n" +
                "                                \"bill_id\":\"13601675690\",\n" +
                "                                \"oper_type\":\"\",\n" +
                "                                \"eff_type\":\"1\",\n" +
                "                                \"offer_state\":\"1\",\n" +
                "                                \"op_bill_id\":\"13601675690\",\n" +
                "                                \"product_spec_id\":\"171000000004\",\n" +
                "                                \"main_busi_id\":\"191000001000\",\n" +
                "                                \"ord_ext\":{\n" +
                "                                    \"tel\":\"17735462287\",\n" +
                "                                    \"booking_home_remarks\":\"\",\n" +
                "                                    \"remarks\":\"\",\n" +
                "                                    \"jk_charge_card\":\"1\",\n" +
                "                                    \"booking_open_dt\":\"\",\n" +
                "                                    \"ext_done_type\":\"\",\n" +
                "                                    \"booking_home_desc\":\"8:00:00\",\n" +
                "                                    \"bill_id\":\"13601675690\",\n" +
                "                                    \"booking_home_dt\":\"2022-07-16\"\n" +
                "                                },\n" +
                "                                \"ext_data\":{\n" +
                "                                    \"booking_home_dt\":\"2022-07-16 8:00:00\",\n" +
                "                                    \"addr_info\":{\n" +
                "                                        \"exchange_id\":\"400563\",\n" +
                "                                        \"district_id\":\"15\",\n" +
                "                                        \"standard_addr_id\":\"34489773\",\n" +
                "                                        \"district_name\":\"徐汇\",\n" +
                "                                        \"standard_addr_name\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"community_name\":\"钦州北路1088号72号商务楼\",\n" +
                "                                        \"community_id\":\"1079871\",\n" +
                "                                        \"access_type\":\"11\",\n" +
                "                                        \"busi_spec_id\":\"105000080167\",\n" +
                "                                        \"cust_name\":\"王*\",\n" +
                "                                        \"ext_attr_1\":\"null\",\n" +
                "                                        \"prod_spec_id\":\"105000080167\",\n" +
                "                                        \"is_jw_flag\":\"已交维\",\n" +
                "                                        \"ext_attr_2\":\"n***\",\n" +
                "                                        \"partner_id\":\"1\",\n" +
                "                                        \"ext_attr_3\":\"null\",\n" +
                "                                        \"std_flag\":\"1\",\n" +
                "                                        \"ge_wband_flag\":\"N\",\n" +
                "                                        \"is_merging\":\"Y\",\n" +
                "                                        \"cluster_village\":\"否\",\n" +
                "                                        \"standard_addr_spell\":\"1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"detail_addr\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"floor_mesg\":\"\",\n" +
                "                                        \"room_mesg\":\"\"\n" +
                "                                    },\n" +
                "                                    \"390000216803\":\"0\",\n" +
                "                                    \"390000216802\":\"1\",\n" +
                "                                    \"broadband_account\":\"921121826902\",\n" +
                "                                    \"ignorMux\":\"Y\"\n" +
                "                                },\n" +
                "                                \"price_plan\":[\n" +
                "                                    {\n" +
                "                                        \"effective_date\":\"2022-07-15 16:05:51\",\n" +
                "                                        \"state\":\"1\",\n" +
                "                                        \"priceitem_id\":\"5909415\",\n" +
                "                                        \"offer_name\":\"魔百和标准版（语音）\",\n" +
                "                                        \"price_detail_type\":\"PRICE_PLAN_PKG_PREPAY\",\n" +
                "                                        \"is_send_report\":\"0\",\n" +
                "                                        \"total_score\":\"0\",\n" +
                "                                        \"price_name\":\"魔百和装移机费\",\n" +
                "                                        \"fact_money\":\"100.00\",\n" +
                "                                        \"pay_type\":\"6\",\n" +
                "                                        \"price_id\":\"390020010817\",\n" +
                "                                        \"ext5\":\"5909415\",\n" +
                "                                        \"should_money\":\"100.00\",\n" +
                "                                        \"distcount_money\":\"0.00\",\n" +
                "                                        \"ext1\":\"921121826902\",\n" +
                "                                        \"ext3\":\"380000185801\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"effective_date\":\"2022-07-15 16:05:51\",\n" +
                "                                        \"state\":\"1\",\n" +
                "                                        \"priceitem_id\":\"3520041\",\n" +
                "                                        \"offer_name\":\"魔百和标准版（语音）\",\n" +
                "                                        \"price_detail_type\":\"PRICE_PLAN_PKG_BUSI\",\n" +
                "                                        \"is_send_report\":\"0\",\n" +
                "                                        \"total_score\":\"0\",\n" +
                "                                        \"price_name\":\"魔百和装移机费\",\n" +
                "                                        \"fact_money\":\"100.00\",\n" +
                "                                        \"pay_type\":\"5\",\n" +
                "                                        \"price_id\":\"390020010818\",\n" +
                "                                        \"ext5\":\"3520041\",\n" +
                "                                        \"should_money\":\"100.00\",\n" +
                "                                        \"distcount_money\":\"0.00\",\n" +
                "                                        \"ext1\":\"921121826902\",\n" +
                "                                        \"ext3\":\"380000185801\"\n" +
                "                                    }\n" +
                "                                ],\n" +
                "                                \"business_id\":\"191000001000\",\n" +
                "                                \"business_name\":\"互联网电视订购\",\n" +
                "                                \"selected\":\"2\",\n" +
                "                                \"mix_main_prod\":\"0\",\n" +
                "                                \"mix_eff_type\":\"1\",\n" +
                "                                \"mix_ext_state\":\"1\",\n" +
                "                                \"mix_ext_type\":\"FIXNET\"\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"offer_id\":\"111000593625\",\n" +
                "                                \"offer_name\":\"自建FTTH标准200M包2年（月付型）\",\n" +
                "                                \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                \"effective_date\":\"2022-07-15 16:05:50\",\n" +
                "                                \"offer_type\":\"OFFER_PLAN\",\n" +
                "                                \"relate_offer_id\":\"0\",\n" +
                "                                \"prod_list\":[\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"390000213041\",\n" +
                "                                        \"prod_name\":\"自建FTTH宽带必选产品\",\n" +
                "                                        \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"role_id\":181000001002,\n" +
                "                                        \"attr_list\":[\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"390000213043\",\n" +
                "                                                \"attr_name\":\"用户端设备\",\n" +
                "                                                \"attr_value\":\"3\",\n" +
                "                                                \"attr_text\":\"IHGU\"\n" +
                "                                            }\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"311999999998\",\n" +
                "                                        \"prod_name\":\"自建宽带基础产品\",\n" +
                "                                        \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"role_id\":181000001002,\n" +
                "                                        \"attr_list\":[\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"262100000001\",\n" +
                "                                                \"attr_name\":\"上网账号\",\n" +
                "                                                \"attr_value\":\"21121826902\",\n" +
                "                                                \"attr_text\":\"21121826902\"\n" +
                "                                            },\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"262100000002\",\n" +
                "                                                \"attr_name\":\"上网密码\",\n" +
                "                                                \"attr_value\":\"491522\",\n" +
                "                                                \"attr_text\":\"491522\"\n" +
                "                                            },\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"262100000004\",\n" +
                "                                                \"attr_name\":\"宽带速率\",\n" +
                "                                                \"attr_value\":\"200\",\n" +
                "                                                \"attr_text\":\"200M\"\n" +
                "                                            },\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"262100000006\",\n" +
                "                                                \"attr_name\":\"接入方式\",\n" +
                "                                                \"attr_value\":\"11\",\n" +
                "                                                \"attr_text\":\"LAN接入\"\n" +
                "                                            },\n" +
                "                                            {\n" +
                "                                                \"attr_id\":\"262100000085\",\n" +
                "                                                \"attr_name\":\"到期处理方式\",\n" +
                "                                                \"attr_value\":\"2\",\n" +
                "                                                \"attr_text\":\"自动续约\"\n" +
                "                                            }\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"400000000730\",\n" +
                "                                        \"prod_name\":\"自建FTTH标准200M包2年（月付型）\",\n" +
                "                                        \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"role_id\":181000000001,\n" +
                "                                        \"attr_list\":[\n" +
                "\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"prod_id\":\"390000216887\",\n" +
                "                                        \"prod_name\":\"自建宽带客户全国亲情网业务优惠\",\n" +
                "                                        \"expire_date\":\"2024-08-01 00:00:00\",\n" +
                "                                        \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                                        \"role_id\":181000000001,\n" +
                "                                        \"attr_list\":[\n" +
                "\n" +
                "                                        ],\n" +
                "                                        \"eff_type\":\"2\"\n" +
                "                                    }\n" +
                "                                ],\n" +
                "                                \"role_ids\":[\n" +
                "                                    181000001002,\n" +
                "                                    181000000001\n" +
                "                                ],\n" +
                "                                \"cust_name\":\"王*\",\n" +
                "                                \"bill_id\":\"13601675690\",\n" +
                "                                \"oper_type\":\"\",\n" +
                "                                \"eff_type\":\"1\",\n" +
                "                                \"offer_state\":\"1\",\n" +
                "                                \"op_bill_id\":\"13601675690\",\n" +
                "                                \"product_spec_id\":\"171000000004\",\n" +
                "                                \"main_busi_id\":\"191000001004\",\n" +
                "                                \"ord_ext\":{\n" +
                "                                    \"tel\":\"17735462287\",\n" +
                "                                    \"booking_home_remarks\":\"\",\n" +
                "                                    \"remarks\":\"\",\n" +
                "                                    \"jk_charge_card\":\"1\",\n" +
                "                                    \"booking_open_dt\":\"\",\n" +
                "                                    \"ext_done_type\":\"\",\n" +
                "                                    \"booking_home_desc\":\"8:00:00\",\n" +
                "                                    \"bill_id\":\"13601675690\",\n" +
                "                                    \"booking_home_dt\":\"2022-07-16\"\n" +
                "                                },\n" +
                "                                \"ext_data\":{\n" +
                "                                    \"booking_home_dt\":\"2022-07-16 8:00:00\",\n" +
                "                                    \"addr_info\":{\n" +
                "                                        \"exchange_id\":\"400563\",\n" +
                "                                        \"district_id\":\"15\",\n" +
                "                                        \"standard_addr_id\":\"34489773\",\n" +
                "                                        \"district_name\":\"徐汇\",\n" +
                "                                        \"standard_addr_name\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"community_name\":\"钦州北路1088号72号商务楼\",\n" +
                "                                        \"community_id\":\"1079871\",\n" +
                "                                        \"access_type\":\"11\",\n" +
                "                                        \"busi_spec_id\":\"105000080167\",\n" +
                "                                        \"cust_name\":\"王*\",\n" +
                "                                        \"ext_attr_1\":\"null\",\n" +
                "                                        \"prod_spec_id\":\"105000080167\",\n" +
                "                                        \"is_jw_flag\":\"已交维\",\n" +
                "                                        \"ext_attr_2\":\"n***\",\n" +
                "                                        \"partner_id\":\"1\",\n" +
                "                                        \"ext_attr_3\":\"null\",\n" +
                "                                        \"std_flag\":\"1\",\n" +
                "                                        \"ge_wband_flag\":\"N\",\n" +
                "                                        \"is_merging\":\"Y\",\n" +
                "                                        \"cluster_village\":\"否\",\n" +
                "                                        \"standard_addr_spell\":\"1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"detail_addr\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"floor_mesg\":\"\",\n" +
                "                                        \"room_mesg\":\"\"\n" +
                "                                    },\n" +
                "                                    \"broadband_account\":\"21121826902\",\n" +
                "                                    \"wo_ablility_occ_param\":{\n" +
                "                                        \"type\":\"ALL\",\n" +
                "                                        \"billId\":\"921121826902\",\n" +
                "                                        \"mobileBillId\":\"13601675690\",\n" +
                "                                        \"phoneNo\":\"null\",\n" +
                "                                        \"bookingOpenDT\":\"\",\n" +
                "                                        \"bookingHomeDT\":\"2022-07-16 8:00:00\",\n" +
                "                                        \"changeType\":\"\",\n" +
                "                                        \"CenterValue\":\"217\",\n" +
                "                                        \"activityEffectiveDate\":\"\",\n" +
                "                                        \"activityName\":\"\",\n" +
                "                                        \"districtId\":\"15\",\n" +
                "                                        \"bookingHomeDesc\":\"8:00:00\",\n" +
                "                                        \"bceFrameId\":\"906011\",\n" +
                "                                        \"busiSpecId\":\"105000080167\",\n" +
                "                                        \"communityId\":\"1079871\"\n" +
                "                                    },\n" +
                "                                    \"camp_on_port_param\":{\n" +
                "                                        \"billId\":\"13601675690\",\n" +
                "                                        \"standardAddrId\":\"34489773\",\n" +
                "                                        \"busiSpecId\":\"105000080167\",\n" +
                "                                        \"accessType\":\"11\",\n" +
                "                                        \"addressNew\":\"上海市徐汇钦州北路1088号72号商务楼3层301室（测试）\",\n" +
                "                                        \"equipTypeNew\":\"3\",\n" +
                "                                        \"businessId\":\"191000001004\",\n" +
                "                                        \"fixnetBillId\":\"921121826902\",\n" +
                "                                        \"tempMainOfferId\":\"111000593625\"\n" +
                "                                    }\n" +
                "                                },\n" +
                "                                \"business_id\":\"191000001004\",\n" +
                "                                \"business_name\":\"宽带新装\",\n" +
                "                                \"selected\":\"2\",\n" +
                "                                \"price_plan\":[\n" +
                "                                    {\n" +
                "                                        \"effective_date\":\"2022-07-15 16:05:51\",\n" +
                "                                        \"state\":\"1\",\n" +
                "                                        \"priceitem_id\":\"5932541\",\n" +
                "                                        \"offer_name\":\"自建FTTH标准200M包2年（月付型）\",\n" +
                "                                        \"price_detail_type\":\"PRICE_PLAN_PKG_PREPAY\",\n" +
                "                                        \"is_send_report\":\"0\",\n" +
                "                                        \"total_score\":\"0\",\n" +
                "                                        \"price_name\":\"宽带装移机费\",\n" +
                "                                        \"fact_money\":\"100.00\",\n" +
                "                                        \"pay_type\":\"6\",\n" +
                "                                        \"price_id\":\"600000000846\",\n" +
                "                                        \"ext5\":\"5932541\",\n" +
                "                                        \"should_money\":\"100.00\",\n" +
                "                                        \"distcount_money\":\"0.00\",\n" +
                "                                        \"ext1\":\"921121826902\",\n" +
                "                                        \"ext3\":\"111000593625\"\n" +
                "                                    },\n" +
                "                                    {\n" +
                "                                        \"effective_date\":\"2022-07-15 16:05:51\",\n" +
                "                                        \"state\":\"1\",\n" +
                "                                        \"priceitem_id\":\"3500581\",\n" +
                "                                        \"offer_name\":\"自建FTTH标准200M包2年（月付型）\",\n" +
                "                                        \"price_detail_type\":\"PRICE_PLAN_PKG_BUSI\",\n" +
                "                                        \"is_send_report\":\"0\",\n" +
                "                                        \"total_score\":\"0\",\n" +
                "                                        \"price_name\":\"宽带装移机费\",\n" +
                "                                        \"fact_money\":\"100.00\",\n" +
                "                                        \"pay_type\":\"5\",\n" +
                "                                        \"price_id\":\"600000000845\",\n" +
                "                                        \"ext5\":\"3500581\",\n" +
                "                                        \"should_money\":\"100.00\",\n" +
                "                                        \"distcount_money\":\"0.00\",\n" +
                "                                        \"ext1\":\"921121826902\",\n" +
                "                                        \"ext3\":\"111000593625\"\n" +
                "                                    }\n" +
                "                                ],\n" +
                "                                \"mix_main_prod\":\"1\",\n" +
                "                                \"mix_eff_type\":\"1\",\n" +
                "                                \"mix_ext_state\":\"1\",\n" +
                "                                \"mix_ext_type\":\"FIXNET\",\n" +
                "                                \"FIXNET_BILL_ID\":\"921121826902\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ]";
        String newStr= "[\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"certifi_type_id\":\"\",\n" +
                "                \"certifi_code\":\"\",\n" +
                "                \"agency_person_address\":\"\",\n" +
                "                \"agency_traffic_number\":\"\",\n" +
                "                \"agency_forefion_name\":\"\",\n" +
                "                \"agency_address\":\"\",\n" +
                "                \"send_sms_flag\":\"N\",\n" +
                "                \"remarks\":\"\",\n" +
                "                \"agency_person\":\"\"\n" +
                "            },\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "            \"price_plan\":\"\",\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"390020010936\",\n" +
                "                    \"prod_name\":\"自建FTTH标准200M包年（优惠购宽带）宽带优惠\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"111000717108\",\n" +
                "                    \"prod_name\":\"PLUS会员年包8折优惠\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"111000782730\",\n" +
                "                    \"prod_name\":\"PLUS会员年包（159元）8折\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"390020010918\",\n" +
                "                    \"prod_name\":\"5G特惠包（50元10GB）\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"main_busi_id\":\"191001002001\",\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_VAS\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_id\":\"390020010917\",\n" +
                "            \"offer_name\":\"5G特惠包（50元10GB）\",\n" +
                "            \"product_spec_id\":\"171000000001\",\n" +
                "            \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"oper_type\":\"0\",\n" +
                "            \"relate_offer_id\":\"0\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000000004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"certifi_type_id\":\"\",\n" +
                "                \"certifi_code\":\"\",\n" +
                "                \"agency_person_address\":\"\",\n" +
                "                \"agency_traffic_number\":\"\",\n" +
                "                \"agency_forefion_name\":\"\",\n" +
                "                \"agency_address\":\"\",\n" +
                "                \"send_sms_flag\":\"N\",\n" +
                "                \"remarks\":\"\",\n" +
                "                \"agency_person\":\"\"\n" +
                "            },\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"spec_id\":\"171000000001\",\n" +
                "            \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "            \"price_plan\":[\n" +
                "\n" +
                "            ],\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"eff_type\":\"1\",\n" +
                "                    \"effective_date\":\"2022-08-01 00:00:00\",\n" +
                "                    \"prod_id\":\"390020010920\",\n" +
                "                    \"prod_name\":\"5G特惠包合约活动\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"main_busi_id\":\"191001002001\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_PLOY\",\n" +
                "            \"selected\":\"1\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购增值策划\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_id\":\"390020010919\",\n" +
                "            \"offer_name\":\"5G特惠包合约活动\",\n" +
                "            \"product_spec_id\":\"171000000001\",\n" +
                "            \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"oper_type\":\"0\",\n" +
                "            \"relate_offer_id\":\"390020010917\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000000004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"certifi_type_id\":\"\",\n" +
                "                \"certifi_code\":\"\",\n" +
                "                \"agency_person_address\":\"\",\n" +
                "                \"agency_traffic_number\":\"\",\n" +
                "                \"agency_forefion_name\":\"\",\n" +
                "                \"agency_address\":\"\",\n" +
                "                \"send_sms_flag\":\"N\",\n" +
                "                \"remarks\":\"\",\n" +
                "                \"agency_person\":\"\"\n" +
                "            },\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "            \"price_plan\":\"\",\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:38\",\n" +
                "                    \"prod_id\":\"391000209861\",\n" +
                "                    \"prod_name\":\"移动云盘(1T)\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"main_busi_id\":\"191001002001\",\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_VAS\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_id\":\"391000209860\",\n" +
                "            \"offer_name\":\"移动云盘(1T)\",\n" +
                "            \"product_spec_id\":\"171000000001\",\n" +
                "            \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"oper_type\":\"0\",\n" +
                "            \"relate_offer_id\":\"0\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000000004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"spec_id\":\"171000000004\",\n" +
                "            \"ext_data\":{\n" +
                "                \"is_out_line\":\"\",\n" +
                "                \"booking_home_dt\":\"2022-07-15  08:00:00\",\n" +
                "                \"booking_home_desc\":\"\",\n" +
                "                \"broadband_account\":\"21121871490\",\n" +
                "                \"addr_info\":{\n" +
                "                    \"std_flag\":\"1\",\n" +
                "                    \"access_type\":\"11\",\n" +
                "                    \"is_merging\":\"Y\",\n" +
                "                    \"standard_addr_name\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"community_name\":\"徐汇长春苑\",\n" +
                "                    \"busi_spec_id\":\"105000080167\",\n" +
                "                    \"standard_addr_spell\":\"158弄3号10层1004室（A扩容）\",\n" +
                "                    \"ext_attr_2\":\"*\",\n" +
                "                    \"cluster_village\":\"否\",\n" +
                "                    \"standard_addr_id\":\"30042554\",\n" +
                "                    \"prod_spec_id\":\"105000080167\",\n" +
                "                    \"district_name\":\"徐汇\",\n" +
                "                    \"ge_wband_flag\":\"S\",\n" +
                "                    \"exchange_id\":\"400563\",\n" +
                "                    \"community_id\":\"1072784\",\n" +
                "                    \"partner_id\":\"1\",\n" +
                "                    \"is_jw_flag\":\"已交维\",\n" +
                "                    \"cust_name\":\"*2\",\n" +
                "                    \"district_id\":\"15\"\n" +
                "                },\n" +
                "                \"wo_ablility_occ_param\":{\n" +
                "                    \"bookingHomeDT\":\"2022-07-15  08:00:00\",\n" +
                "                    \"activityEffectiveDate\":\"\",\n" +
                "                    \"changeType\":\"\",\n" +
                "                    \"activityName\":\"\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"type\":\"ALL\",\n" +
                "                    \"mobileBillId\":\"13585801140\",\n" +
                "                    \"phoneNo\":\"13585801140\",\n" +
                "                    \"districtId\":\"15\",\n" +
                "                    \"bceFrameId\":\"906011\",\n" +
                "                    \"billId\":\"921121871490\",\n" +
                "                    \"CenterValue\":\"210\",\n" +
                "                    \"bookingOpenDT\":\"\",\n" +
                "                    \"bookingHomeDesc\":\"\",\n" +
                "                    \"communityId\":\"1072784\"\n" +
                "                },\n" +
                "                \"fix_phone_prods\":\"39\"\n" +
                "            },\n" +
                "            \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "            \"price_plan\":[\n" +
                "                {\n" +
                "                    \"priceitem_id\":\"3520041\",\n" +
                "                    \"price_detail_type\":\"PRICE_PLAN_PKG_BUSI\",\n" +
                "                    \"fact_money\":\"100\",\n" +
                "                    \"price_name\":\"魔百和装移机费\",\n" +
                "                    \"should_money\":\"100\",\n" +
                "                    \"price_id\":\"390020010818\",\n" +
                "                    \"offer_name\":\"魔百和标准版\",\n" +
                "                    \"distcount_money\":\"0.00\",\n" +
                "                    \"effective_date\":\"1657925422000\",\n" +
                "                    \"is_send_report\":\"0\",\n" +
                "                    \"pay_type\":\"5\",\n" +
                "                    \"total_score\":\"0\",\n" +
                "                    \"state\":\"1\",\n" +
                "                    \"ext5\":\"3520041\",\n" +
                "                    \"ext3\":\"390000216983\",\n" +
                "                    \"ext1\":\"13585801140\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"priceitem_id\":\"5909415\",\n" +
                "                    \"price_detail_type\":\"PRICE_PLAN_PKG_PREPAY\",\n" +
                "                    \"fact_money\":\"100\",\n" +
                "                    \"price_name\":\"魔百和装移机费\",\n" +
                "                    \"should_money\":\"100\",\n" +
                "                    \"price_id\":\"390020010817\",\n" +
                "                    \"offer_name\":\"魔百和标准版\",\n" +
                "                    \"distcount_money\":\"0.00\",\n" +
                "                    \"effective_date\":\"1657925422000\",\n" +
                "                    \"is_send_report\":\"0\",\n" +
                "                    \"pay_type\":\"6\",\n" +
                "                    \"total_score\":\"0\",\n" +
                "                    \"state\":\"1\",\n" +
                "                    \"ext5\":\"5909415\",\n" +
                "                    \"ext3\":\"390000216983\",\n" +
                "                    \"ext1\":\"13585801140\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"main_busi_id\":\"191000001000\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "                        {\n" +
                "                            \"attr_name\":\"互联网电视机顶盒\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"380000182995\"\n" +
                "                        }\n" +
                "                    ],\n" +
                "                    \"role_id\":181000001004,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"391000031470\",\n" +
                "                    \"prod_name\":\"魔百和标准版\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"390000211746\",\n" +
                "                    \"prod_name\":\"魔百和标准版\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "                        {\n" +
                "                            \"attr_name\":\"是否IPTV组播\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"390000216802\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"业务子账号\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"390000216803\"\n" +
                "                        }\n" +
                "                    ],\n" +
                "                    \"role_id\":181000001004,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:35\",\n" +
                "                    \"prod_id\":\"390000216800\",\n" +
                "                    \"prod_name\":\"魔百和组播\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_PLAN\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"互联网电视新装\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_name\":\"魔百和标准版\",\n" +
                "            \"offer_id\":\"390000216983\",\n" +
                "            \"product_spec_id\":\"171000000008\",\n" +
                "            \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000001000\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"bill_id\":\"13585801140\",\n" +
                "                \"CHN_Phone\":\"13585801140\",\n" +
                "                \"booking_home_dt\":\"2022-07-15\",\n" +
                "                \"booking_home_desc\":\"\",\n" +
                "                \"certify_type_id\":\"\",\n" +
                "                \"certify_code\":\"\",\n" +
                "                \"agency_person\":\"\",\n" +
                "                \"ext_done_type\":\"\",\n" +
                "                \"jk_charge_card\":\"0\",\n" +
                "                \"tel\":\"\",\n" +
                "                \"booking_home_remarks\":\"\",\n" +
                "                \"booking_open_dt\":\"\",\n" +
                "                \"remarks\":\"\"\n" +
                "            },\n" +
                "            \"role_ids\":[\n" +
                "                181000001002,\n" +
                "                181000000001\n" +
                "            ],\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"ext_data\":{\n" +
                "                \"booking_home_dt\":\"2022-07-15  08:00:00\",\n" +
                "                \"broadband_account\":\"21121871490\",\n" +
                "                \"addr_info\":{\n" +
                "                    \"std_flag\":\"1\",\n" +
                "                    \"access_type\":\"11\",\n" +
                "                    \"is_merging\":\"Y\",\n" +
                "                    \"standard_addr_name\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"community_name\":\"徐汇长春苑\",\n" +
                "                    \"busi_spec_id\":\"105000080167\",\n" +
                "                    \"standard_addr_spell\":\"158弄3号10层1004室（A扩容）\",\n" +
                "                    \"ext_attr_2\":\"*\",\n" +
                "                    \"cluster_village\":\"否\",\n" +
                "                    \"standard_addr_id\":\"30042554\",\n" +
                "                    \"prod_spec_id\":\"105000080167\",\n" +
                "                    \"room_mesg\":\"1004室\",\n" +
                "                    \"district_name\":\"徐汇\",\n" +
                "                    \"ge_wband_flag\":\"S\",\n" +
                "                    \"floor_mesg\":\"\",\n" +
                "                    \"exchange_id\":\"400563\",\n" +
                "                    \"community_id\":\"1072784\",\n" +
                "                    \"partner_id\":\"1\",\n" +
                "                    \"is_jw_flag\":\"已交维\",\n" +
                "                    \"cust_name\":\"*2\",\n" +
                "                    \"detail_addr\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"district_id\":\"15\"\n" +
                "                },\n" +
                "                \"camp_on_port_param\":{\n" +
                "                    \"accessType\":\"11\",\n" +
                "                    \"addressNew\":\"\",\n" +
                "                    \"billId\":\"13585801140\",\n" +
                "                    \"fixnetBillId\":\"921121871490\",\n" +
                "                    \"businessId\":\"191000001004\",\n" +
                "                    \"standardAddrId\":\"30042554\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"tempMainOfferId\":\"\"\n" +
                "                },\n" +
                "                \"wo_ablility_occ_param\":{\n" +
                "                    \"bookingHomeDT\":\"2022-07-15  08:00:00\",\n" +
                "                    \"activityEffectiveDate\":\"\",\n" +
                "                    \"changeType\":\"\",\n" +
                "                    \"activityName\":\"\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"type\":\"ALL\",\n" +
                "                    \"mobileBillId\":\"13585801140\",\n" +
                "                    \"phoneNo\":\"13585801140\",\n" +
                "                    \"districtId\":\"15\",\n" +
                "                    \"bceFrameId\":\"906011\",\n" +
                "                    \"billId\":\"921121871490\",\n" +
                "                    \"CenterValue\":\"210\",\n" +
                "                    \"bookingOpenDT\":\"\",\n" +
                "                    \"bookingHomeDesc\":\"\",\n" +
                "                    \"communityId\":\"1072784\"\n" +
                "                }\n" +
                "            },\n" +
                "            \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "            \"price_plan\":[\n" +
                "                {\n" +
                "                    \"priceitem_id\":\"3500581\",\n" +
                "                    \"price_detail_type\":\"PRICE_PLAN_PKG_BUSI\",\n" +
                "                    \"fact_money\":\"100.00\",\n" +
                "                    \"price_name\":\"宽带装移机费\",\n" +
                "                    \"should_money\":\"100.00\",\n" +
                "                    \"price_id\":\"390000067434\",\n" +
                "                    \"offer_name\":\"自建FTTH标准200M包年（月付型）\",\n" +
                "                    \"distcount_money\":\"0.00\",\n" +
                "                    \"effective_date\":\"1657925424000\",\n" +
                "                    \"is_send_report\":\"0\",\n" +
                "                    \"pay_type\":\"5\",\n" +
                "                    \"total_score\":\"0\",\n" +
                "                    \"state\":\"1\",\n" +
                "                    \"ext5\":\"3500581\",\n" +
                "                    \"ext3\":\"390000067430\",\n" +
                "                    \"ext1\":\"921121871490\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"priceitem_id\":\"5932541\",\n" +
                "                    \"price_detail_type\":\"PRICE_PLAN_PKG_PREPAY\",\n" +
                "                    \"fact_money\":\"100.00\",\n" +
                "                    \"price_name\":\"宽带装移机费\",\n" +
                "                    \"should_money\":\"100.00\",\n" +
                "                    \"price_id\":\"390000067433\",\n" +
                "                    \"offer_name\":\"自建FTTH标准200M包年（月付型）\",\n" +
                "                    \"distcount_money\":\"0.00\",\n" +
                "                    \"effective_date\":\"1657925424000\",\n" +
                "                    \"is_send_report\":\"0\",\n" +
                "                    \"pay_type\":\"6\",\n" +
                "                    \"total_score\":\"0\",\n" +
                "                    \"state\":\"1\",\n" +
                "                    \"ext5\":\"5932541\",\n" +
                "                    \"ext3\":\"390000067430\",\n" +
                "                    \"ext1\":\"921121871490\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"mix_main_prod\":\"1\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "                        {\n" +
                "                            \"attr_name\":\"用户端设备\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"390000213043\"\n" +
                "                        }\n" +
                "                    ],\n" +
                "                    \"role_id\":181000001002,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "                    \"prod_id\":\"390000213041\",\n" +
                "                    \"prod_name\":\"自建FTTH宽带必选产品\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "                        {\n" +
                "                            \"attr_name\":\"上网账号\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"262100000001\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"上网密码\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"262100000002\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"宽带速率\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"262100000004\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"接入方式\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"262100000006\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"到期处理方式\",\n" +
                "                            \"attr_text\":\"\",\n" +
                "                            \"attr_value\":\"\",\n" +
                "                            \"attr_id\":\"262100000085\"\n" +
                "                        }\n" +
                "                    ],\n" +
                "                    \"role_id\":181000001002,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "                    \"prod_id\":\"311999999998\",\n" +
                "                    \"prod_name\":\"自建宽带基础产品\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "                    \"prod_id\":\"390000216887\",\n" +
                "                    \"prod_name\":\"自建宽带客户全国亲情网业务优惠\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "                    \"attr_list\":[\n" +
                "\n" +
                "                    ],\n" +
                "                    \"role_id\":181000000001,\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "                    \"prod_id\":\"390000067431\",\n" +
                "                    \"prod_name\":\"自建FTTH标准200M包年（月付型）\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"main_busi_id\":\"191000001004\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_PLAN\",\n" +
                "            \"selected\":\"2\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"宽带新装\",\n" +
                "            \"param_data\":\"PARA_DATA=0\",\n" +
                "            \"FIXNET_BILL_ID\":\"921121871490\",\n" +
                "            \"offer_id\":\"390000067430\",\n" +
                "            \"offer_name\":\"自建FTTH标准200M包年（月付型）\",\n" +
                "            \"product_spec_id\":\"171000000004\",\n" +
                "            \"expire_date\":\"2023-08-01 00:00:00\",\n" +
                "            \"oper_type\":\"\",\n" +
                "            \"relate_offer_id\":\"0\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000001004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"bill_id\":\"13585801140\",\n" +
                "                \"CHN_Phone\":\"13585801140\",\n" +
                "                \"booking_home_dt\":\"2022-07-15\",\n" +
                "                \"booking_home_desc\":\"\",\n" +
                "                \"certify_type_id\":\"\",\n" +
                "                \"certify_code\":\"\",\n" +
                "                \"agency_person\":\"\",\n" +
                "                \"ext_done_type\":\"\",\n" +
                "                \"jk_charge_card\":\"0\",\n" +
                "                \"tel\":\"\",\n" +
                "                \"booking_home_remarks\":\"\",\n" +
                "                \"booking_open_dt\":\"\",\n" +
                "                \"remarks\":\"\"\n" +
                "            },\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"ext_data\":{\n" +
                "                \"booking_home_dt\":\"2022-07-15  08:00:00\",\n" +
                "                \"broadband_account\":\"21121871490\",\n" +
                "                \"addr_info\":{\n" +
                "                    \"std_flag\":\"1\",\n" +
                "                    \"access_type\":\"11\",\n" +
                "                    \"is_merging\":\"Y\",\n" +
                "                    \"standard_addr_name\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"community_name\":\"徐汇长春苑\",\n" +
                "                    \"busi_spec_id\":\"105000080167\",\n" +
                "                    \"standard_addr_spell\":\"158弄3号10层1004室（A扩容）\",\n" +
                "                    \"ext_attr_2\":\"*\",\n" +
                "                    \"cluster_village\":\"否\",\n" +
                "                    \"standard_addr_id\":\"30042554\",\n" +
                "                    \"prod_spec_id\":\"105000080167\",\n" +
                "                    \"room_mesg\":\"1004室\",\n" +
                "                    \"district_name\":\"徐汇\",\n" +
                "                    \"ge_wband_flag\":\"S\",\n" +
                "                    \"floor_mesg\":\"\",\n" +
                "                    \"exchange_id\":\"400563\",\n" +
                "                    \"community_id\":\"1072784\",\n" +
                "                    \"partner_id\":\"1\",\n" +
                "                    \"is_jw_flag\":\"已交维\",\n" +
                "                    \"cust_name\":\"*2\",\n" +
                "                    \"detail_addr\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"district_id\":\"15\"\n" +
                "                },\n" +
                "                \"camp_on_port_param\":{\n" +
                "                    \"accessType\":\"11\",\n" +
                "                    \"addressNew\":\"\",\n" +
                "                    \"billId\":\"13585801140\",\n" +
                "                    \"fixnetBillId\":\"921121871490\",\n" +
                "                    \"businessId\":\"191000001004\",\n" +
                "                    \"standardAddrId\":\"30042554\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"tempMainOfferId\":\"\"\n" +
                "                },\n" +
                "                \"wo_ablility_occ_param\":{\n" +
                "                    \"bookingHomeDT\":\"2022-07-15  08:00:00\",\n" +
                "                    \"activityEffectiveDate\":\"\",\n" +
                "                    \"changeType\":\"\",\n" +
                "                    \"activityName\":\"\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"type\":\"ALL\",\n" +
                "                    \"mobileBillId\":\"13585801140\",\n" +
                "                    \"phoneNo\":\"13585801140\",\n" +
                "                    \"districtId\":\"15\",\n" +
                "                    \"bceFrameId\":\"906011\",\n" +
                "                    \"billId\":\"921121871490\",\n" +
                "                    \"CenterValue\":\"210\",\n" +
                "                    \"bookingOpenDT\":\"\",\n" +
                "                    \"bookingHomeDesc\":\"\",\n" +
                "                    \"communityId\":\"1072784\"\n" +
                "                }\n" +
                "            },\n" +
                "            \"spec_id\":\"171000000004\",\n" +
                "            \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "            \"price_plan\":[\n" +
                "\n" +
                "            ],\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"prod_list\":[\n" +
                "                {\n" +
                "                    \"attr_list\":[\n" +
                "                        {\n" +
                "                            \"attr_name\":\"优惠方式\",\n" +
                "                            \"attr_text\":\"优惠金额 金额(元)\",\n" +
                "                            \"attr_value\":\"1\",\n" +
                "                            \"attr_id\":\"262100000065\"\n" +
                "                        },\n" +
                "                        {\n" +
                "                            \"attr_name\":\"优惠值\",\n" +
                "                            \"attr_text\":\"65.00\",\n" +
                "                            \"attr_value\":\"65.00\",\n" +
                "                            \"attr_id\":\"262100000066\"\n" +
                "                        }\n" +
                "                    ],\n" +
                "                    \"expire_date\":\"2023-08-01 00:00:00\",\n" +
                "                    \"eff_type\":\"1\",\n" +
                "                    \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "                    \"prod_id\":\"390000076499\",\n" +
                "                    \"prod_name\":\"自建FTTH标准200M包年（月付型）65元优惠\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"main_busi_id\":\"191000001004\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_VAS\",\n" +
                "            \"selected\":\"1\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购增值策划\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_id\":\"390000076500\",\n" +
                "            \"offer_name\":\"自建FTTH标准200M包年（月付型）65元优惠[策划]\",\n" +
                "            \"product_spec_id\":\"171000000004\",\n" +
                "            \"expire_date\":\"2023-08-01 00:00:00\",\n" +
                "            \"oper_type\":\"\",\n" +
                "            \"relate_offer_id\":\"390000067430\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000000004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"ord_ext\":{\n" +
                "                \"bill_id\":\"13585801140\",\n" +
                "                \"CHN_Phone\":\"13585801140\",\n" +
                "                \"booking_home_dt\":\"2022-07-15\",\n" +
                "                \"booking_home_desc\":\"\",\n" +
                "                \"certify_type_id\":\"\",\n" +
                "                \"certify_code\":\"\",\n" +
                "                \"agency_person\":\"\",\n" +
                "                \"ext_done_type\":\"\",\n" +
                "                \"jk_charge_card\":\"0\",\n" +
                "                \"tel\":\"\",\n" +
                "                \"booking_home_remarks\":\"\",\n" +
                "                \"booking_open_dt\":\"\",\n" +
                "                \"remarks\":\"\"\n" +
                "            },\n" +
                "            \"acct_id\":\"10030185425\",\n" +
                "            \"ext_data\":{\n" +
                "                \"booking_home_dt\":\"2022-07-15  08:00:00\",\n" +
                "                \"broadband_account\":\"21121871490\",\n" +
                "                \"addr_info\":{\n" +
                "                    \"std_flag\":\"1\",\n" +
                "                    \"access_type\":\"11\",\n" +
                "                    \"is_merging\":\"Y\",\n" +
                "                    \"standard_addr_name\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"community_name\":\"徐汇长春苑\",\n" +
                "                    \"busi_spec_id\":\"105000080167\",\n" +
                "                    \"standard_addr_spell\":\"158弄3号10层1004室（A扩容）\",\n" +
                "                    \"ext_attr_2\":\"*\",\n" +
                "                    \"cluster_village\":\"否\",\n" +
                "                    \"standard_addr_id\":\"30042554\",\n" +
                "                    \"prod_spec_id\":\"105000080167\",\n" +
                "                    \"room_mesg\":\"1004室\",\n" +
                "                    \"district_name\":\"徐汇\",\n" +
                "                    \"ge_wband_flag\":\"S\",\n" +
                "                    \"floor_mesg\":\"\",\n" +
                "                    \"exchange_id\":\"400563\",\n" +
                "                    \"community_id\":\"1072784\",\n" +
                "                    \"partner_id\":\"1\",\n" +
                "                    \"is_jw_flag\":\"已交维\",\n" +
                "                    \"cust_name\":\"*2\",\n" +
                "                    \"detail_addr\":\"上海市徐汇钦州北路158弄3号10层1004室（A扩容）\",\n" +
                "                    \"district_id\":\"15\"\n" +
                "                },\n" +
                "                \"camp_on_port_param\":{\n" +
                "                    \"accessType\":\"11\",\n" +
                "                    \"addressNew\":\"\",\n" +
                "                    \"billId\":\"13585801140\",\n" +
                "                    \"fixnetBillId\":\"921121871490\",\n" +
                "                    \"businessId\":\"191000001004\",\n" +
                "                    \"standardAddrId\":\"30042554\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"tempMainOfferId\":\"\"\n" +
                "                },\n" +
                "                \"wo_ablility_occ_param\":{\n" +
                "                    \"bookingHomeDT\":\"2022-07-15  08:00:00\",\n" +
                "                    \"activityEffectiveDate\":\"\",\n" +
                "                    \"changeType\":\"\",\n" +
                "                    \"activityName\":\"\",\n" +
                "                    \"busiSpecId\":\"105000080167\",\n" +
                "                    \"type\":\"ALL\",\n" +
                "                    \"mobileBillId\":\"13585801140\",\n" +
                "                    \"phoneNo\":\"13585801140\",\n" +
                "                    \"districtId\":\"15\",\n" +
                "                    \"bceFrameId\":\"906011\",\n" +
                "                    \"billId\":\"921121871490\",\n" +
                "                    \"CenterValue\":\"210\",\n" +
                "                    \"bookingOpenDT\":\"\",\n" +
                "                    \"bookingHomeDesc\":\"\",\n" +
                "                    \"communityId\":\"1072784\"\n" +
                "                }\n" +
                "            },\n" +
                "            \"spec_id\":\"171000000004\",\n" +
                "            \"effective_date\":\"2022-07-16 06:51:37\",\n" +
                "            \"price_plan\":[\n" +
                "\n" +
                "            ],\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"prod_list\":[\n" +
                "\n" +
                "            ],\n" +
                "            \"cust_name\":\"*2\",\n" +
                "            \"main_busi_id\":\"191000001004\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"acct_name\":\"*2\",\n" +
                "            \"offer_type\":\"OFFER_VAS\",\n" +
                "            \"selected\":\"1\",\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购增值策划\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"offer_id\":\"390000216805\",\n" +
                "            \"offer_name\":\"魔百和组播\",\n" +
                "            \"product_spec_id\":\"171000000004\",\n" +
                "            \"expire_date\":\"2023-08-01 00:00:00\",\n" +
                "            \"oper_type\":\"\",\n" +
                "            \"relate_offer_id\":\"390000067430\",\n" +
                "            \"op_bill_id\":\"13585801140\",\n" +
                "            \"business_id\":\"191000000004\"\n" +
                "        },\n" +
                "        {\n" +
                "            \"bill_id\":\"13585801140\",\n" +
                "            \"business_name\":\"订购\",\n" +
                "            \"mix_eff_type\":\"1\",\n" +
                "            \"eff_type\":\"1\",\n" +
                "            \"offer_alpha_name\":\"WMRHB\",\n" +
                "            \"param_data\":\"\",\n" +
                "            \"product_spec_name\":\"普通融合类礼包\",\n" +
                "            \"offer_name\":\"完美融合包\",\n" +
                "            \"offer_id\":\"390020024739\",\n" +
                "            \"mix_is_show\":\"Y\",\n" +
                "            \"product_spec_id\":\"390020024733\",\n" +
                "            \"expire_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"expOffer\":\"\",\n" +
                "            \"use_eff_date\":\"2022-06-19 23:02:01\",\n" +
                "            \"effective_date\":\"2022-07-16 06:51:29\",\n" +
                "            \"mix_main_prod\":\"0\",\n" +
                "            \"main_busi_id\":\"191000002026\",\n" +
                "            \"offer_state\":\"1\",\n" +
                "            \"business_id\":\"191000002026\",\n" +
                "            \"use_exp_date\":\"2099-12-31 00:00:00\",\n" +
                "            \"offer_type\":\"OFFER_MIX\"\n" +
                "        }\n" +
                "    ]";
        System.out.println(new CampareJson().campareJsonObject(oldStr,newStr));
    }
}
